Einhugur macOS Bridge plugin.

NSRunningApplication.ProcessIdentifier Property

Indicates the process identifier (pid) of the application.

ProcessIdentifier as Int32 {Read}

Remarks

Not all applications have a pid. Applications without a pid return a value of -1.

Do not rely on this for comparing processes.

See Also

NSRunningApplication Class